﻿//Created by Action Script Viewer - http://www.buraks.com/asv
package reprise.css.propertyparsers {
    import reprise.css.*;

    public class Margin extends CSSPropertyParser {

        public static const KNOWN_PROPERTIES:Object = {margin:{parser:parseMargin}, marginTop:{parser:strToIntProperty}, marginRight:{parser:strToIntProperty}, marginBottom:{parser:strToIntProperty}, marginLeft:{parser:strToIntProperty}};

        public static var TRANSITION_SHORTCUTS:Object = {margin:["marginTop", "marginRight", "marginBottom", "marginLeft"]};

        public static function parseMargin(_arg1:String, _arg2:String):CSSParsingResult{
            return (strToRectParsingResult(_arg1, _arg2, "margin", "", strToIntProperty));
        }

    }
}//package reprise.css.propertyparsers 
